<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>game1-跑得快</title>

<body id="page-top">

<div id="main_game" style="border:1px solid black;width:1000px;height:1000px;position: relative;">

    <div id="hand_joker1" style="border:1px solid black;width:100px;height:600px;position:absolute;bottom:300px;right:50px">
    </div>
    <div id="hand_joker2" style="border:1px solid black;width:100px;height:600px;position:absolute;bottom:300px;left:50px">
    </div>
    <div id="hand_joker3" style="border:1px solid black;width:700px;height:150px;position:absolute;bottom:50px;right:150px">
    </div>
</div>
<script src="__CDN__/assets/js/jquery.min.js"></script>
<script>
    $(function(){
    //连接socket
    var ws = new WebSocket("ws://81.69.250.165:9501");
        
        ws.onopen = function(evt) {
            console.log("连接到服务器。");
            var start_data = '{"game":"runningfast","action":"connect","data":{"user":"play1"}}';
            ws.send(start_data);
        };
        
        ws.onmessage = function(evt) {
        };
        
    })
   

</script>



</body>
</html>